package com.cardmanage.service;


import com.cardmanage.common.Result;
import com.cardmanage.pojo.NewUser;
import com.cardmanage.pojo.User;
import com.cardmanage.pojo.UserPassword;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

public interface UserService {
    Result login(User user);

    Result createNew(NewUser newUser);

    Result loginOut(HttpServletRequest request, HttpServletResponse response);


    Result Edit(HttpServletRequest request, UserPassword userPassword);
}
